package com.benin.sms.model

import com.benin.sms.MyApplication
import com.benin.sms.valipetrpide.ValGlobalConstant
import com.benin.sms.extipetrpide.getAndroid
import com.benin.sms.helpipetrpide.UserStateHelp

open class ToBase(
    var token: String = "",//token
    var sysLoginName: String = "",//loginName
    var androidId: String = "",//安卓id
    var advertId: String = "",//广告id
    var version: String = "",//app版本号
    var clientType: String = "",//终端类型
    var showLoading: Boolean = true,//是否显示loading
) {
    init {
        this.sysLoginName = UserStateHelp.loginName
        this.token = UserStateHelp.token
        this.androidId = MyApplication.context.getAndroid()
        this.advertId = MyApplication.VAL_GAID
        this.version = ValGlobalConstant.VAL_APP_VERSION.toString()
        this.clientType = "ANDROID"
    }
}